package com.example.demo.service;

import com.example.demo.dto.MessageMarkEvent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

/**
 * @Description: //todo
 * @Author: 张广焱
 * @Date: 2024-01-20 17:08
 */
@Slf4j
@Component
public class jtjt {
    @Async
//    @TransactionalEventListener(classes = MessageMarkEvent.class, fallbackExecution = true)
    public void changeMsgType(MessageMarkEvent event) {
        System.out.println("yyyy-mm-dd-----测试进度");
    }
}
